<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sec"
	uri="http://www.springframework.org/security/tags"%>

<s:include value="../header.jsp"></s:include>
<s:include value="../leftNav.jsp"></s:include>

<div id="content">

 <div id="tabs">
	<ul>
		<li><s:a href="#tabs-1">Create new user</s:a></li>
		<li><s:a href="#tabs-2">Address</s:a></li>
		<li><s:a href="#tabs-3">Change password</s:a></li>
	</ul>
	<div id="tabs-1">
 		<h3>Please insert new user data:</h3>
		<s:form name="addForm" method="post" action="editMyProfile.action">
			<s:textfield name="username" label="Username" />
			<s:textfield name="firstName" label="First name" />
			<s:textfield name="secondName" label="Second name" />
		 	<s:textfield name="email" label="Email address" />
		 	<s:textfield name="fax" label="Fax number" />
		 	<s:textfield name="phone" label="Phone number" />
			<s:submit type="button" name="Add" />
		</s:form>
	</div>
	<div id="tabs-2">
 		<h3>Please insert user address:</h3>
		<s:form name="addForm" method="post" action="editUserAddressForm.action">
			<s:textfield name="city" label="City" />
			<s:textfield name="address1" label="Address" />
		 	<s:textfield name="state" label="State" />
		 	<s:textfield name="zipcode" label="Zipcode" />
		 	<s:select label="Country" headerKey="-1"
				headerValue="select country" list="countries" name="country" />
			<s:submit type="button" name="Add" />
		</s:form>
	</div>
	<div id="tabs-3">
 		<h3>Change password</h3>
		<s:form name="addForm" method="post" action="changePassword.action">
			<s:password name="oldPassword" label="Your old password" />
			<s:password name="newPassword" label="New password" />
			<s:password name="newPasswordConfirmed" label="Confirm new password" />
			<s:submit type="button" name="Add" />
		</s:form>
	</div>
</div>